<template>
  <div>
    <transition name="router-fade" mode="out-in">
      <keep-alive>
        <router-view v-if="$route.meta.keepAlive"></router-view>
      </keep-alive>
    </transition>
    <transition name="router-fade" mode="out-in">
      <router-view v-if="!$route.meta.keepAlive"></router-view>
    </transition>
    <svg-icon></svg-icon>
  </div>
</template>

<script>
import svgIcon from "./components/common/svg";
import { getUrlParame } from "src/service/common";
import { mapMutations } from "vuex";
export default {
  data() {
    return {
    };
  },
  components: {
    svgIcon,
  },
  beforeCreate() {},
  async created() {
   
  },
  methods: {
    ...mapMutations([
      "INIT_USER_INFO",
      "SET_WEIXIN_INFO",
      "SET_TOKEN",
      "SET_USER_INFO"
    ]),
    onChange(e) {
      this.show = e;
    }
  }
};
</script>

<style lang="scss">
@import "./style/common";
.content_body {
  padding-top: 46px;
}
.router-fade-enter-active,
.router-fade-leave-active {
  transition: opacity 0.3s;
}
.router-fade-enter,
.router-fade-leave-active {
  opacity: 0;
}
.order_confirm_wrap {
  .van-submit-bar__bar {
    .van-button--danger {
      background: linear-gradient(160deg, #eb5b2e 20%, #f09036 80%);
      border: 0;
    }
  }
}
</style>
